<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>dxjt_toolkit: DxJtTraverser Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">dxjt_toolkit
   &#160;<span id="projectnumber">0.4</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="class_dx_jt_traverser-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">DxJtTraverser Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>A traverser for visit product structure object.  
 <a href="class_dx_jt_traverser.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_dx_jt_traverser_8h_source.html">DxJtTraverser.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a56438124ebd88628486a870591a0593c"><td class="memItemLeft" align="right" valign="top"><a id="a56438124ebd88628486a870591a0593c"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_dx_jt_traverser.html#a56438124ebd88628486a870591a0593c">traverseGraph</a> (std::shared_ptr&lt; <a class="el" href="class_dx_jt_hierarchy.html">DxJtHierarchy</a> &gt; Root)</td></tr>
<tr class="memdesc:a56438124ebd88628486a870591a0593c"><td class="mdescLeft">&#160;</td><td class="mdescRight">traverse the descent graph nodes. <br /></td></tr>
<tr class="separator:a56438124ebd88628486a870591a0593c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1c74a8e81b6600dcadbd7625f489824"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_dx_jt_traverser.html#ac1c74a8e81b6600dcadbd7625f489824">preActionCallback</a> (std::shared_ptr&lt; <a class="el" href="class_dx_jt_hierarchy.html">DxJtHierarchy</a> &gt; CurrNode, int Level)</td></tr>
<tr class="memdesc:ac1c74a8e81b6600dcadbd7625f489824"><td class="mdescLeft">&#160;</td><td class="mdescRight">Setup a pre-action callback for the input node.  <a href="class_dx_jt_traverser.html#ac1c74a8e81b6600dcadbd7625f489824">More...</a><br /></td></tr>
<tr class="separator:ac1c74a8e81b6600dcadbd7625f489824"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba00b61fcc2ab386556760173d9a1086"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_dx_jt_traverser.html#aba00b61fcc2ab386556760173d9a1086">postActionCallback</a> (std::shared_ptr&lt; <a class="el" href="class_dx_jt_hierarchy.html">DxJtHierarchy</a> &gt; CurrNode, int Level)</td></tr>
<tr class="memdesc:aba00b61fcc2ab386556760173d9a1086"><td class="mdescLeft">&#160;</td><td class="mdescRight">Setup a post-action callback for the input node.  <a href="class_dx_jt_traverser.html#aba00b61fcc2ab386556760173d9a1086">More...</a><br /></td></tr>
<tr class="separator:aba00b61fcc2ab386556760173d9a1086"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A traverser for visit product structure object. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="aba00b61fcc2ab386556760173d9a1086"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aba00b61fcc2ab386556760173d9a1086">&#9670;&nbsp;</a></span>postActionCallback()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool DxJtTraverser::postActionCallback </td>
          <td>(</td>
          <td class="paramtype">std::shared_ptr&lt; <a class="el" href="class_dx_jt_hierarchy.html">DxJtHierarchy</a> &gt;&#160;</td>
          <td class="paramname"><em>CurrNode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>Level</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Setup a post-action callback for the input node. </p>
<p>默认情况下返回true，使得可以继续处理直至结束；而如果返回false，则将 阻止任何其他节点。</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">CurrNode</td><td>当前正在访问的节点 </td></tr>
    <tr><td class="paramname">Level</td><td>从遍历开始层级为0开始计算，当前处于哪一级别 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ac1c74a8e81b6600dcadbd7625f489824"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac1c74a8e81b6600dcadbd7625f489824">&#9670;&nbsp;</a></span>preActionCallback()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool DxJtTraverser::preActionCallback </td>
          <td>(</td>
          <td class="paramtype">std::shared_ptr&lt; <a class="el" href="class_dx_jt_hierarchy.html">DxJtHierarchy</a> &gt;&#160;</td>
          <td class="paramname"><em>CurrNode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>Level</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Setup a pre-action callback for the input node. </p>
<p>默认情况下返回true，使得可以继续递归访问children nodes；而如果 返回false，则将阻止递归任何更下的节点级别。</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">CurrNode</td><td>当前正在访问的节点 </td></tr>
    <tr><td class="paramname">Level</td><td>从遍历开始层级为0开始计算，当前处于哪一级别 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/<a class="el" href="_dx_jt_traverser_8h_source.html">DxJtTraverser.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>
